﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoffeePotServer
{
    /// <summary>
    /// File: ServerException.cs
    /// Author: James Dibble 10009689
    /// Last Revision: 17/03/12
    /// </summary>
    public class ServerException: Exception
    {
        private ExceptionType _type;

        public ServerException(String strMessage, ExceptionType type)
            : base(strMessage)
        {
            _type = type;
        }

        public ExceptionType Type
        {
            get { return _type; }
        }

        public enum ExceptionType
        {
            INVALID_POT
        }
    }
}